package org.itcast.travel.mapper;

import java.util.List;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.itcast.travel.pojo.Place;
import org.itcast.travel.pojo.PlaceQueryParam;

@Mapper
public interface PlaceMapper {
    Page<Place> page(PlaceQueryParam placeQueryParam);


    void deletById(List<Integer> ids);

    void add(Place place);


    Place getById(Integer id);

    void update(Place place);
}